<?php

require_once(WSB_MODULES_PATH .'sherpa/models/Categories.php');
require_once(WSB_MODULES_PATH .'sherpa/models/Category.php');

class Sherpa_Model_CategoryTree extends WSB_Model_SimpleTree
{

	/**
	 * @return void
	 */
	public function init()
	{
		$this->_modelClass = 'Sherpa_Model_Category';
		$this->_collectionClass = 'Sherpa_Model_Categories';
		$this->_key = 'id';
		$this->_parentKey = 'parentId';
	}

}